<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>创建订单</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <label class="layui-form-label required">订单号</label>
        <div class="layui-input-inline">
            <input type="text" name="order_num" lay-verify="required" lay-reqtext="订单号不能为空" placeholder="请输入订单号" value="" class="layui-input">
        </div>

        <label class="layui-form-label required">经销商</label>
        <div class="layui-input-inline">
            <select id="dealer_id" name="dealer_id" lay-search></select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">货品</label>
        <div class="layui-input-inline">
            <select id="goods_id" name="goods_id" lay-search=""></select>
        </div>

        <label class="layui-form-label required">货品数量</label>
        <div class="layui-input-inline">
            <input type="text" name="sum_goods" lay-verify="required" lay-reqtext="货品数量不能为空" placeholder="请输入货品数量" value="1" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">收货人</label>
        <div class="layui-input-inline">
            <!-- <select id="member" name="member" lay-search=""></select> -->
            <input type="text" name="mem_name" lay-verify="required" lay-reqtext="收货人不能为空" placeholder="请输入收货人" value="" class="layui-input">
        </div>
        <label class="layui-form-label required">收货人手机</label>
        <div class="layui-input-inline">
            <!-- <select  name="mem_phone" lay-search=""></select> -->
            <input type="text" name="mem_phone" lay-verify="required" lay-reqtext="收货人手机不能为空" placeholder="请输入收货人手机" value="" class="layui-input">
        </div>
    </div>
    
    <div class="layui-form-item">
        <label class="layui-form-label required">收货人地址</label>
        <div class="layui-input-block">
            <!-- <select  name="mem_phone" lay-search=""></select> -->
            <input type="text" name="detailaddress" lay-verify="required" lay-reqtext="收货人地址不能为空" placeholder="请输入收货人地址" value="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发货仓库</label>
        <div class="layui-input-block">
            <input type="radio" name="ware_house" value="小鹅读书良品仓" title="小鹅读书良品仓" checked="">
            <input type="radio" name="ware_house" value="小鹅读书残损仓" title="小鹅读书残损仓">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">优惠</label>
        <div class="layui-input-inline">
            <input type="text" name="offers" placeholder="请输入优惠" value="0" class="layui-input">
        </div>

        <label class="layui-form-label">邮费</label>
        <div class="layui-input-inline">
            <input type="text" name="postage" placeholder="请输入邮费" value="0" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息"></textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/Order_add.js" charset="utf-8"></script>
</body>
</html>